package com.ht.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ht.domain.HouseAllInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HouseAllMapper extends BaseMapper<HouseAllInfo> {

    // 查询所有房源信息
    public List<HouseAllInfo> getAllHouseInfo();

    // 查询指定条数房源
    public List<HouseAllInfo> getPagesHouseInfo(@Param("startIndex") int start,@Param("size")int size);

}
